package com.baizhi.service;

import com.baizhi.entity.Admin;
import com.github.pagehelper.PageInfo;

public interface AdminService {
    Boolean login(Admin admin);
    Admin showByName(String username);
    Admin showById(int id);
    PageInfo<Admin> showAll(int page,int limit,String username);
    void add(Admin admin);
    void remove(int id);
    void update(Admin admin);
}
